<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>跳转</title>
	</head>
			
	<body>
		<select id="site" name="" onchange="doAction()">
			<option value="">请选择</option>
			<option value ="http://www.baidu.com">百度</option>
			<option value ="http://www.163.com">网易云</option>
			<option value ="http://www.taobao.com">淘宝</option>
		</select>
	</body>
	<script type="text/javascript">
		function doAction(){
			var num =document.getElementById('site').value;
			location.href =num;
		}
	</script>
</html>
